package com.zhkj.lib.base

interface BaseView {
    /**
     * 显示加载框
     */
    fun showLoadingView(content: String? = null)

    /**
     * 隐藏加载框
     */
    fun hideLoadingView()

    /**
     * 弹出吐司
     */
    fun toast(content: String)

    /**
     * 请求权限
     */
    fun requestPermission(permission: String, onGrant: () -> Unit, onDeny: () -> Unit)
}